package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class AlipayComplaintsRecords implements Serializable {
    private Integer id;

    /**
     * 应用id，例如小程序id、生活号id、商家pid
     *
     * @mbg.generated
     */
    private String targetId;

    /**
     * 应用类型 例如小程序：APPID 生活号：PUBLICID 商家账户：PID
     *
     * @mbg.generated
     */
    private String targetType;

    /**
     * 支付宝侧投诉单号
     *
     * @mbg.generated
     */
    private String complainEventId;

    /**
     * 状态
     * 待处理：MERCHANT_PROCESSING
     * 已处理：MERCHANT_FEEDBACKED
     * 投诉完结：FINISHED
     * 投诉关闭：CANCELLED
     * 客服处理中：PLATFORM_PROCESSING
     * 客服处理完结：PLATFORM_FINISH
     * 投诉关闭：CLOSED
     *
     * @mbg.generated
     */
    private String status;

    /**
     * 支付宝交易号
     *
     * @mbg.generated
     */
    private String tradeNo;

    /**
     * 商家订单号
     *
     * @mbg.generated
     */
    private String merchantOrderNo;

    /**
     * 用户投诉诉求
     *
     * @mbg.generated
     */
    private String leafCategoryName;

    /**
     * 用户投诉原因
     *
     * @mbg.generated
     */
    private String complainReason;

    /**
     * 用户投诉内容
     *
     * @mbg.generated
     */
    private String content;

    /**
     * 投诉图片
     *
     * @mbg.generated
     */
    private String images;

    /**
     * 投诉人电话号码
     *
     * @mbg.generated
     */
    private String phoneNo;

    /**
     * 交易金额，单位元
     *
     * @mbg.generated
     */
    private BigDecimal tradeAmount;

    /**
     * 投诉单创建时间
     *
     * @mbg.generated
     */
    private Date gmtCreate;

    /**
     * 投诉单修改时间
     *
     * @mbg.generated
     */
    private Date gmtModified;

    /**
     * 投诉单完结时间
     *
     * @mbg.generated
     */
    private Date gmtFinished;

    /**
     * 子商户号id
     *
     * @mbg.generated
     */
    private String childId;

    /**
     * 供应商商品ID
     */
    private Integer supplyProductId;

    /**
     *商品所属平台数据 h5 app all
     */
    private String platformData;

    /**
     * 投诉类型 1-支付宝小程序投诉，2-支付宝交易投诉
     */
    private Integer complainType;

    /**
     * '支付宝交易投诉状态
     */
    private String complainStatus;

    /**
     * 支付宝交易投诉处理状态
     *
     */
    private String complainDealType;

    /**
     * 支付宝交易投诉商家处理备注
     *
     */
    private String dealRemark;

    /**
     * 导入用户id。 仅complain_type=2 需要记录
     */
    private Integer importUserId;

    /**
     * 手动导入时间。 仅complain_type=2 需要记录
     */
    private Date importTime;

    /**
     * 处理用户。 仅complain_type=2 需要记录
     */
    private Integer handlerUserId;

    /**
     * 处理时间。 仅complain_type=2 需要记录
     */
    private Date handleTime;


    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getComplainEventId() {
        return complainEventId;
    }

    public void setComplainEventId(String complainEventId) {
        this.complainEventId = complainEventId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getMerchantOrderNo() {
        return merchantOrderNo;
    }

    public void setMerchantOrderNo(String merchantOrderNo) {
        this.merchantOrderNo = merchantOrderNo;
    }

    public String getLeafCategoryName() {
        return leafCategoryName;
    }

    public void setLeafCategoryName(String leafCategoryName) {
        this.leafCategoryName = leafCategoryName;
    }

    public String getComplainReason() {
        return complainReason;
    }

    public void setComplainReason(String complainReason) {
        this.complainReason = complainReason;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public BigDecimal getTradeAmount() {
        return tradeAmount;
    }

    public void setTradeAmount(BigDecimal tradeAmount) {
        this.tradeAmount = tradeAmount;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Date getGmtFinished() {
        return gmtFinished;
    }

    public void setGmtFinished(Date gmtFinished) {
        this.gmtFinished = gmtFinished;
    }

    public String getChildId() {
        return childId;
    }

    public void setChildId(String childId) {
        this.childId = childId;
    }

    public Integer getSupplyProductId() {
        return supplyProductId;
    }

    public void setSupplyProductId(Integer supplyProductId) {
        this.supplyProductId = supplyProductId;
    }

    public String getPlatformData() {
        return platformData;
    }

    public void setPlatformData(String platformData) {
        this.platformData = platformData;
    }

    public Integer getComplainType() {
        return complainType;
    }

    public void setComplainType(Integer complainType) {
        this.complainType = complainType;
    }

    public String getComplainDealType() {
        return complainDealType;
    }

    public void setComplainDealType(String complainDealType) {
        this.complainDealType = complainDealType;
    }

    public String getDealRemark() {
        return dealRemark;
    }

    public void setDealRemark(String dealRemark) {
        this.dealRemark = dealRemark;
    }

    public String getComplainStatus() {
        return complainStatus;
    }

    public void setComplainStatus(String complainStatus) {
        this.complainStatus = complainStatus;
    }

    public Integer getImportUserId() {
        return importUserId;
    }

    public void setImportUserId(Integer importUserId) {
        this.importUserId = importUserId;
    }

    public Date getImportTime() {
        return importTime;
    }

    public void setImportTime(Date importTime) {
        this.importTime = importTime;
    }

    public Integer getHandlerUserId() {
        return handlerUserId;
    }

    public void setHandlerUserId(Integer handlerUserId) {
        this.handlerUserId = handlerUserId;
    }

    public Date getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", targetId=").append(targetId);
        sb.append(", targetType=").append(targetType);
        sb.append(", complainEventId=").append(complainEventId);
        sb.append(", status=").append(status);
        sb.append(", tradeNo=").append(tradeNo);
        sb.append(", merchantOrderNo=").append(merchantOrderNo);
        sb.append(", leafCategoryName=").append(leafCategoryName);
        sb.append(", complainReason=").append(complainReason);
        sb.append(", content=").append(content);
        sb.append(", images=").append(images);
        sb.append(", phoneNo=").append(phoneNo);
        sb.append(", tradeAmount=").append(tradeAmount);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", gmtFinished=").append(gmtFinished);
        sb.append(", childId=").append(childId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}